package com.yzkj.siot.type;

public enum PermissionType {

    ANY(0, "任意"),

    ADMIN(1, "后台"),

    TENANT(2, "租户"),

    TENANT_GATEWAY(3, "租户设备网关");

    private final int typeCode;

    private final String desc;

    PermissionType(int typeCode, String desc) {
        this.typeCode = typeCode;
        this.desc = desc;
    }

    public String getDesc() {
        return this.desc;
    }

    public int getTypeCode() {
        return this.typeCode;
    }
}
